// MenuBuilder.java
package sonet.textui.search;
import ist.po.ui.Command;
import ist.po.ui.Menu;
import sonet.textui.*;

public class MenuBuilder {
	public static void menuFor(BrowsingState state) {
		Menu menu = new Menu(MenuEntry.TITLE, new Command<?>[] {
				new ShowAllMessages(state),
				new ShowAgentsWithoutMessages(state),
				});
		menu.open();
	}	
}
